package com.hpin.mlxteacher.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Aaron on 15/12/30.
 */
public class EmoBean implements Parcelable {

    public String code; //表情代码
    public String name ;  //表情名字

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.code);
        dest.writeString(this.name);
    }

    public EmoBean() {
    }

    protected EmoBean(Parcel in) {
        this.code = in.readString();
        this.name = in.readString();
    }

    public static final Creator<EmoBean> CREATOR = new Creator<EmoBean>() {
        public EmoBean createFromParcel(Parcel source) {
            return new EmoBean(source);
        }

        public EmoBean[] newArray(int size) {
            return new EmoBean[size];
        }
    };
}
